package com.candy.candyshortlink.business.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.candy.candyshortlink.business.entity.ShortLink;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author suyanlong
 * @since 2023-05-31
 */
public interface IShortLinkService extends IService<ShortLink> {

    ShortLink createShortLink(ShortLink shortLink);

    List<ShortLink> createShortLinkBatch(List<ShortLink> shortLinkList);

    ShortLink getByShortUrl(String string);

}
